Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old deprecation classes for 3.14 release #8664

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

DavidCain
Copy link
Contributor

When DRF 3.14 is released, these exception classes will be meaningless, so we can delete them (this has always been done).

A previous PR removed the last incidence of RemovedInDRF313Warning, but didn't outright delete the class for fear of shipping a breaking
change: #8589

When DRF 3.14 is released, these exception classes will be meaningless,
so we can delete them (this has always been done).

A previous PR removed the last incidence of `RemovedInDRF313Warning`,
but didn't outright delete the class for fear of shipping a breaking
change: encode#8589
class RemovedInDRF314Warning(PendingDeprecationWarning):
pass


class RemovedInDRF315Warning(PendingDeprecationWarning):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth noting that PendingDeprecationWarning is probably the wrong parent class, but I made a separate PR for that: #8665

@tomchristie
Copy link
Member

Great, thank you.

@tomchristie tomchristie merged commit f34f156 into encode:master Sep 22, 2022
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
When DRF 3.14 is released, these exception classes will be meaningless,
so we can delete them (this has always been done).

A previous PR removed the last incidence of `RemovedInDRF313Warning`,
but didn't outright delete the class for fear of shipping a breaking
change: encode#8589
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants